package com.sheep.mbg.mapper;

import com.sheep.mbg.model.RbacRole;
import com.sheep.mbg.model.RbacRoleExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface RbacRoleMapper {
    long countByExample(RbacRoleExample example);

    int deleteByExample(RbacRoleExample example);

    int deleteByPrimaryKey(Long id);

    int insert(RbacRole record);

    int insertSelective(RbacRole record);

    List<RbacRole> selectByExample(RbacRoleExample example);

    RbacRole selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") RbacRole record, @Param("example") RbacRoleExample example);

    int updateByExample(@Param("record") RbacRole record, @Param("example") RbacRoleExample example);

    int updateByPrimaryKeySelective(RbacRole record);

    int updateByPrimaryKey(RbacRole record);
}